package com.glorystone.ins.domain;


import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

public @Data class SysUser implements Serializable {

    private static final long serialVersionUID = -5395005303986269023L;

    private Long tid;

    private String username;

    private String realName;

    private String password;

    private String jobNumber;

    private String phone;

    private String position;

    private Date createTime;

    private Date updateTime;

    private Integer delFlag;

    private Long officeId;

    private String roleId;

    private Integer type;

    private Integer status;
    
    private Integer firstLand;

    private Integer roleStatus;

    private Integer roleDelFlag;

    
    //vo属性
    private String roleName;
    private Byte roleCode;
    private Byte productCode;
    private String officeName;
    private SysRole role;
    private String companyRegisterName;
    private String accountName;
    private Integer channelType;
    private Long channelId;
    
    //志硕为了安全加密添加的2个字段
    private String salt;//密码盐
    private String credentialsSalt;//用户或+盐

    private int userLevel;

    private List<String> userIds;

    private Set<String> roles;

    private Set<String> stringPermissions;
}